<?

class graphDeviceIcmpStatistics extends graphBase {
	protected $rrdFile = 'netstats_icmp.rrd';
	protected function getOptions() {
		return array(
			'DEF:icmpInMsgs='.$this->rrdPath.':InMsgs:AVERAGE',
			'DEF:icmpOutMsgs='.$this->rrdPath.':OutMsgs:AVERAGE',
			'DEF:icmpInErrors='.$this->rrdPath.':InErrors:AVERAGE',
			'DEF:icmpOutErrors='.$this->rrdPath.':OutErrors:AVERAGE',
			'DEF:icmpInEchos='.$this->rrdPath.':InEchos:AVERAGE',
			'DEF:icmpOutEchos='.$this->rrdPath.':OutEchos:AVERAGE',
			'DEF:icmpInEchoReps='.$this->rrdPath.':InEchoReps:AVERAGE',
			'DEF:icmpOutEchoReps='.$this->rrdPath.':OutEchoReps:AVERAGE',
			'LINE1.25:icmpOutEchoReps#990099:OutEchoReps','GPRINT:icmpOutEchoReps:LAST: %6.2lf%s','GPRINT:icmpOutEchoReps:AVERAGE: %6.2lf%s','GPRINT:icmpOutEchoReps:MAX: %6.2lf%s\n',
			'LINE1.25:icmpInEchoReps#cc00cc:InEchoReps ','GPRINT:icmpInEchoReps:LAST: %6.2lf%s','GPRINT:icmpInEchoReps:AVERAGE:  %6.2lf%s','GPRINT:icmpInEchoReps:MAX: %6.2lf%s\n',
			'LINE1.25:icmpOutEchos#003399:OutEchos   ','GPRINT:icmpOutEchos:LAST: %6.2lf%s','GPRINT:icmpOutEchos:AVERAGE:  %6.2lf%s','GPRINT:icmpOutEchos:MAX: %6.2lf%s\n',
			'LINE1.25:icmpInEchos#0066cc:InEchos    ','GPRINT:icmpInEchos:LAST: %6.2lf%s','GPRINT:icmpInEchos:AVERAGE:  %6.2lf%s','GPRINT:icmpInEchos:MAX: %6.2lf%s\n',
			'LINE1.25:icmpOutErrors#660000:OutErrors  ','GPRINT:icmpOutErrors:LAST: %6.2lf%s','GPRINT:icmpOutErrors:AVERAGE:  %6.2lf%s','GPRINT:icmpOutErrors:MAX: %6.2lf%s\n',
			'LINE1.25:icmpInErrors#cc0000:InErrors   ','GPRINT:icmpInErrors:LAST: %6.2lf%s','GPRINT:icmpInErrors:AVERAGE:  %6.2lf%s','GPRINT:icmpInErrors:MAX: %6.2lf%s\n',
			'LINE1.25:icmpOutMsgs#006600:OutMsgs    ','GPRINT:icmpOutMsgs:LAST: %6.2lf%s','GPRINT:icmpOutMsgs:AVERAGE:  %6.2lf%s','GPRINT:icmpOutMsgs:MAX: %6.2lf%s\n',
			'LINE1.25:icmpInMsgs#00cc00:InMsgs ','GPRINT:icmpInMsgs:LAST:     %6.2lf%s','GPRINT:icmpInMsgs:AVERAGE:  %6.2lf%s','GPRINT:icmpInMsgs:MAX: %6.2lf%s\n',
			'COMMENT:Packets/sec    Current    Average   Maximum\n'
		);
	}

}